The game you create happens in a window (even when fullscreen), and this window has a number of properties, like position, size, whether it is fullscreen, etc... These details are normally set automatically for you based on the room size and view ports enabled, or from the Windows Tab of the Global Game Options but you can change them during the game using the functions listed on this page.
The following image illustrates how all some of the most general windows functions relate and interact with each other:
The following functions exist to change and get game window properties:
- window_center
- window_handle
- window_get_caption
- window_get_colour
- window_get_fullscreen
- window_get_height
- window_get_width
- window_get_x
- window_get_y
- window_get_cursor
- window_get_visible_rects
- window_mouse_get_x
- window_mouse_get_y
- window_mouse_set
- window_set_caption
- window_set_colour
- window_set_fullscreen
- window_set_position
- window_set_size
- window_set_rectangle
- window_set_cursor
- window_set_min_width
- window_set_max_width
- window_set_min_height
- window_set_max_height
- window_has_focus
- window_device
- window_view_mouse_get_x
- window_view_mouse_get_y
- window_views_mouse_get_x
- window_views_mouse_get_y